package com.yuanda.wordhot.util;

/**
 * 
 * @author YuBai
 * @since 2013-3-19
 * @Description 系统常量
 * @version 1.0
 */
public final class GlobalConstants {

	// Session中放置对象的名称定义
	public final static String SESSION_ATTR_NAME_CURRENT_USER = "current_user";
	
	public final static String SYSTEM_RUNING_MODEL_CONFIG_KEY = "DEBUG_FLAG";
	/**
	 * 
	 * @author YuBai
	 * @since 2013-3-19
	 * @Description 配置表
	 * @version 1.0
	 */
	public static class ConfigKeys {
		public final static String MENU_CONFIG_TYPE = "MENUS_CONFIG";// 菜单配置
		public final static String MENU_CONFIG_TYPE_BACKGROUND = "BACKGROUND_MENUS";// 系统后台菜单
		public final static String MENU_CONFIG_TYPE_FRONT = "FRONT_MENUS";// 系统前台菜单
	}

	/**
	 * @author YuBai
	 * @since 2013-3-20
	 * @Description 日期格式化key
	 * @version 1.0
	 */
	public static class DateFormatKeys {
		public final static String DATE_TIME_FORMAT = "yyyyMMddHHmmss";

		public final static String DATE_TIME_FORMAT_CN = "yyyy年MM月dd日 HH:mm:ss";
		public static final String DATE_10_FORMAT = "yyyy-MM-dd";

		public static final String DATE_6_FORMAT = "yyyyMM";
	}
}
